package com.dsg.workflow;

import com.dsg.entity.apply.DsgApplyBill;
import com.dsg.util.Constant;
import org.springframework.stereotype.Service;

/**
 * Sales Ipad新申請
 */
@Service
public class WorkflowService2 extends AbstractWorkflowService {
    @Override
    protected String recalculateNodeName(DsgApplyBill bill) {
        if (Constant.PAY_TYPE_ATP.equals(bill.getPayType())) {
            return NODE_CHECK_CAR_NO;
        } else {
            return NODE_DEDUCT_ONE;
        }
    }
}
